﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Vehicle.DAL
{
    /// <summary>
    /// Copyright (C) M-Tear团队
    /// 文 件 名：RolePermission.cs
    /// 版    本：v1.00.0000
    /// 创建标识：2009-08-28    Created by 杨光远 V1.00.0000
    /// 功能说明：RolePermission表数据层类（继承于数据层基类)
    /// 注意事项：无
    /// 
    /// 更新记录：
    /// 
    /// </summary>
    public class RolePermission : DAL.Base_DAL, Vehicle.Interface.IRolePermission
    {  
        /// <summary>
        /// 添加角色权限
        /// </summary>
        /// <param name="m_RolePermissionInfo">实体对象</param>
        public void Add(Model.RolePermissionInfo m_RolePermissionInfo)
        {

            string SpName = "RolePermission_ADD";
            object[] _object = new object[] { 0, m_RolePermissionInfo.R_ID, m_RolePermissionInfo.P_ID };
           SqlHelper.ExecuteNonQuery(SpName, _object);
        }
    }
}
